package com.yqyd.hy.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
public class SignDto {
    @NotBlank(message = "授权码不能为空")
    private String code;
    @NotBlank(message = "姓氏不能为空")
    private String surname;
    @NotBlank(message = "名字不能为空")
    private String name;
    private String sex;
    @NotBlank(message = "手机号不能为空")
    private String phone;
    private String birthDate;
}
